
<table>
   <tr align="center">
     <th width="40">序号</th>
	 <th>采购单</th>
	 
	 <th>名称</th>
	 <th>规格</th>
	 
	 <th>数量</th>
	 <th>单位</th>
	 <th>单价</th>
	 
	 <th>备注</th>

	 <th>状态</th>
	 <th>创建时间</th>
   </tr>
   {[foreach name=outer key=key item=item from=$result]}
   {[assign var="no" value="`$key+$pager->from+1`"]}
   <tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
     <td>{[$no]}</td>	 
     <td>{[$item.p.code]}</td>
	 <td>{[$item.name]}</td>
	 
	 <td>{[$item.standard|truncate:21:"...":true]}</td>
	 <td>{[$item.amount]}</td>
	 <td>{[$item.unit]}</td>
	 <td>{[$item.price|string_price]}</td>
	  
	 <td>{[$item.content|truncate:21:"...":true]}</td>

	 <td>{[$item.status_t]}</td>
	 <td>{[$item.createtime]}</td>
  </tr>
  {[/foreach]}
</table>
